/*
 * @Author: rogi
 * @Date: 2022-07-18 15:47:08
 * @LastEditTime: 2022-10-28 15:20:44
 * @LastEditors: rogi
 * @Description: 描述
 */
import request from "../utils/request";

export function qbtCustomerWithdrawRecordList(params) {
  return request(`/jeecg-boot/qbt/qbtCustomerWithdrawRecord/list`, {
    params
  })
}

export function qbtCustomerList(params) {
  return request(`/jeecg-boot/qbt/qbtCustomer/list`, {
    params
  })
}

export function qbtBusinessCustomerBaseList(params) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerBase/list`, {
    params
  })
}

export function queryAllFormDataById(params) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerBase/queryAllFormDataById`, {
    params
  })
}

export function searchByBusinessCustomerId(params) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerHouse/searchByBusinessCustomerId`, {
    params
  })
}

export function qbtBusinessCustomerCaseList(params) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerCase/list`, {
    params
  })
}

export function getDictItemsSysUser(params) {
  return request(`/jeecg-boot/sys/dict/getDictItems/sys_user,realname,username,responsible_person%20=1`, {
    params
  })
}

export function qbtCustomerSearchCustomerDetail(params) {
  return request(`/jeecg-boot/qbt/qbtCustomer/searchCustomerDetail`, {
    params
  })
}

export function qbtCustomerSearchCustomerTeam(params) {
  return request(`/jeecg-boot/qbt/qbtCustomer/searchCustomerTeam`, {
    params
  })
}

export function qbtCustomerSearchCustomerCase(params) {
  return request(`/jeecg-boot/qbt/qbtCustomer/searchCustomerCase`, {
    params
  })
}

export function qbtCustomerSearchCustomerAccountRecord(params) {
  return request(`/jeecg-boot/qbt/qbtCustomer/searchCustomerAccountRecord`, {
    params
  })
}

export function qbtCustomerQueryById(params) {
  return request(`/jeecg-boot/qbt/qbtCustomer/queryById`, {
    params
  })
}

export function qbtBusinessCustomerBaseDelete(params) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerBase/delete`, {
    method: 'delete',
    params
  })
}

export function qbtBusinessCustomerHouseCreate(body) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerHouse/create`, {
    method: 'post',
    body
  })
}

export function qbtBusinessCustomerBaseAdd(body) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerBase/add`, {
    method: 'post',
    body
  })
}

export function qbtCustomerEdit(body) {
  return request(`/jeecg-boot/qbt/qbtCustomer/edit`, {
    method: 'put',
    body
  })
}

export function qbtCustomerResetPassword(body) {
  return request(`/jeecg-boot/qbt/qbtCustomer/resetPassword`, {
    method: 'put',
    body
  })
}

export function qbtBusinessCustomerBaseEdit(body) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerBase/edit`, {
    method: 'put',
    body
  })
}

export function qbtBusinessCustomerHouseUpdate(body) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerHouse/update`, {
    method: 'put',
    body
  })
}

export function qbtCustomerDelete(params) {
  return request(`/jeecg-boot/qbt/qbtCustomer/delete`, {
    method: 'delete',
    params
  })
}

export function qbtBusinessCustomerHouseDelete(params) {
  return request(`/jeecg-boot/qbt/qbtBusinessCustomerHouse/delete/`, {
    method: 'delete',
    params
  })
}





export function qbtCustomerAdd(body) {
  return request(`/jeecg-boot/qbt/qbtCustomer/add`, {
    method: 'post',
    body
  })
}